Total Complexity | 25 |
Dependencies | 4 |
Dependents | 10 |
Total lines | 111 |
Lines of code | 58 |
Logical lines of code | 31 |
Comment lines | 37 |
Methods | 7 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
cart_contains_subscription() | 56 | 8 | 18 | |
order_pay_contains_subscription() | 62 | 4 | 11 | |
has_subscription() | 77 | 4 | 3 | |
current_product_is_subscription() | 69 | 3 | 7 | |
is_subscription_change_payment() | 70 | 3 | 6 | |
accept_only_automatic_payment_gateways() | 64 | 2 | 10 | |
plugin_is_active() | 80 | 1 | 3 |